﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<SCRIPT src="jquery.min.js" type=text/javascript></SCRIPT>

<script src="eve.js" type=text/javascript></script>
<script src="raphael.core.js" type=text/javascript></script>
<script src="raphael.svg.js" type=text/javascript></script>
<script src="heat-map-v0.4.0.src.js" type=text/javascript></script>
<script src="resource/heat-map-res-all.js" type=text/javascript></script>


<script>
var map,options;
$(document).ready(function() {

    options = {
        map: {
            mouseover: function(event, region, name, title_idx) {
                //alert(region+"_"+name);
            },
            mouseout: function(event, region, name, title_idx) {
                //alert(name+"_"+region);
            },
            click: function(event, region, name, title_idx, goin) {
                //alert(name+"_"+region+"_"+goin);
            },
            shadow: "url(shadow.gif)"
        },
        ruler: {
            share: {
                enable:false,
                fill:"#4571A7"
            },
        },
        legend:{
            show: function(index) {
                //alert(index);
            },
        },
        //animate:{"roll-sec":2},
        data:[
            {
                "title":"金额",
                "data":{"20":{"total":198488,"235":62792,"233":37898,"252":25037,"238":16153,"243":7854,"253":7742,"239":5616,"237":5070,"236":3836,"250":3466,"242":3208,"249":2774,"240":2696,"241":2503,"248":2020,"244":2012,"234":1836,"246":1740,"251":1663,"247":1522,"245":1050},"2":123549,"10":57337,"11":{"total":56942,"113":17988,"109":7507,"110":6639,"111":5189,"112":3882,"114":3021,"117":2245,"118":2115,"115":1845,"120":1698,"119":1677,"116":1621,"121":1515},"16":{"total":56500,"171":8459,"170":8424,"176":5769,"182":4935,"177":3997,"175":3944,"172":3301,"186":2522,"184":2364,"178":2041,"185":1969,"173":1955,"183":1782,"174":1648,"180":1490,"179":1379,"181":521},"17":{"total":53839,"187":19784,"189":4638,"193":3736,"200":2609,"201":2433,"203":2383,"191":2311,"194":2092,"202":1996,"204":1950,"190":1904,"188":1889,"197":1721,"196":1313,"199":1209,"198":804,"192":636,"195":431},"12":{"total":48270,"122":18685,"123":6846,"124":5786,"128":3789,"125":3477,"131":3142,"127":2789,"126":1603,"132":932,"129":733,"130":488},"4":{"total":41222,"38":10919,"43":5057,"39":4935,"41":4237,"47":3837,"46":3105,"42":2944,"40":2120,"48":1541,"44":1381,"45":1146},"14":{"total":39147,"150":8992,"154":8838,"151":7987,"155":3827,"152":2374,"158":1991,"157":1919,"153":1706,"156":1513},"24":{"total":31071,"272":16299,"277":1432,"282":1326,"276":1110,"284":1057,"286":1014,"275":946,"292":863,"281":838,"285":794,"273":777,"279":641,"280":599,"283":576,"289":542,"274":518,"288":506,"278":502,"287":408,"291":181,"290":142},"18":{"total":28895,"205":13873,"209":1919,"208":1777,"214":1716,"213":1664,"212":1368,"207":1307,"206":1061,"218":996,"211":802,"215":791,"217":610,"216":548,"210":463},"28":{"total":22033,"325":11980,"328":2084,"329":1767,"327":1589,"332":1301,"331":1031,"333":796,"330":737,"334":436,"326":312},"19":{"total":20834,"219":7644,"222":1601,"224":1419,"220":1417,"228":1407,"221":1072,"229":1049,"231":981,"223":969,"225":957,"230":839,"227":753,"232":459,"226":267},"13":{"total":20527,"133":5928,"143":1740,"134":1431,"144":1332,"140":1313,"142":1083,"147":1076,"135":984,"146":947,"136":824,"137":783,"145":771,"149":660,"138":599,"141":406,"139":342,"148":308},"21":{"total":20361,"254":5701,"255":2451,"256":2085,"262":1688,"261":1334,"257":1217,"260":980,"258":951,"263":802,"265":785,"264":631,"266":585,"267":584,"259":567},"7":{"total":19443,"72":7245,"73":4801,"74":1033,"78":786,"82":719,"75":707,"79":707,"84":571,"85":564,"77":534,"83":511,"76":478,"81":473,"80":314},"5":{"total":16555,"49":4653,"56":1869,"58":1582,"55":1512,"59":1379,"50":1305,"52":1065,"57":960,"53":820,"51":767,"54":643},"15":{"total":14864,"159":3838,"165":3551,"162":1241,"167":1235,"169":1219,"166":1089,"168":834,"161":601,"163":460,"160":443,"164":353},"3":14081,"23":13981,"26":{"total":12399,"302":5844,"311":928,"303":918,"314":752,"304":662,"306":657,"312":432,"310":349,"305":342,"307":322,"313":320,"308":317,"315":223,"309":220,"316":61,"317":52},"32":{"total":11045,"362":4871,"366":846,"373":813,"368":749,"376":741,"369":522,"371":507,"363":445,"365":383,"374":323,"375":242,"364":199,"367":174,"372":133,"370":97},"9":{"total":10911,"95":5180,"100":1294,"96":738,"104":666,"102":616,"106":570,"97":417,"105":329,"99":313,"98":297,"101":224,"107":144,"103":123},"25":{"total":8771,"293":3294,"295":1288,"300":680,"299":674,"301":660,"298":626,"294":617,"297":472,"296":460},"6":{"total":8622,"60":1971,"61":1434,"63":1077,"65":1006,"66":738,"64":667,"67":389,"68":378,"70":373,"62":260,"69":184,"71":145},"8":{"total":7706,"86":4067,"87":1167,"94":516,"88":511,"90":431,"92":350,"91":250,"93":239,"89":175},"29":{"total":7203,"335":2552,"339":654,"344":548,"338":485,"342":473,"343":417,"340":382,"345":366,"346":330,"341":303,"347":224,"337":181,"336":165,"348":123},"22":{"total":4792,"268":2289,"269":1640,"270":863},"31":{"total":2393,"357":1423,"359":315,"358":254,"361":211,"360":190},"30":{"total":1662,"349":1069,"356":302,"350":146,"351":44,"353":39,"354":23,"355":22,"352":17},"27":{"total":711,"318":406,"321":87,"324":81,"320":50,"319":49,"322":22,"323":16}}
            },
            {
                "title":"数量",
                "data":{"20":{"total":197256,"235":62086,"233":37811,"252":24927,"238":16132,"243":7799,"253":7724,"239":5584,"237":5040,"236":3825,"250":3448,"242":3194,"249":2756,"240":2681,"241":2485,"248":2010,"244":1993,"234":1824,"246":1729,"251":1655,"247":1511,"245":1042},"2":122718,"10":57275,"11":{"total":56829,"113":17966,"109":7486,"110":6629,"111":5176,"112":3876,"114":3014,"117":2241,"118":2110,"115":1833,"120":1694,"119":1674,"116":1617,"121":1513},"16":{"total":56294,"171":8427,"170":8398,"176":5752,"182":4919,"177":3973,"175":3926,"172":3288,"186":2511,"184":2356,"178":2035,"185":1965,"173":1951,"183":1776,"174":1638,"180":1486,"179":1372,"181":521},"17":{"total":53506,"187":19745,"189":4626,"193":3715,"200":2578,"201":2391,"203":2346,"191":2299,"194":2084,"202":1959,"204":1927,"190":1883,"188":1882,"197":1709,"196":1301,"351":"171.45","350":"162.75","354":"156.52","353":"146.29","352":"140.30","356":"138.39","349":"73.21"},"26":{"total":"94.93","317":"176.02","309":"134.40","313":"123.30","316":"122.96","308":"121.83","306":"121.08","307":"119.62","312":"117.95","315":"112.72","305":"112.43","314":"112.04","311":"111.60","310":"105.35","303":"96.33","304":"96.11","302":"76.14"},"6":{"total":"85.85","69":"150.73","66":"136.56","71":"125.50","70":"114.01","65":"103.68","62":"99.87","68":"97.00","67":"93.18","64":"88.97","63":"78.09","61":"69.32","60":"53.80"},"9":{"total":"75.10","107":"140.98","105":"117.79","97":"106.53","103":"102.43","99":"102.32","98":"97.08","101":"95.66","106":"93.44","104":"87.80","102":"87.59","96":"82.22","100":"74.13","95":"57.66"},"31":{"total":"96.88","361":"139.02","359":"137.45","360":"136.77","358":"124.44","357":"71.56"},"24":{"total":"59.57","291":"138.38","290":"118.27","292":"105.99","274":"89.41","288":"86.30","278":"77.31","287":"74.10","286":"72.09","284":"67.24","283":"66.46","275":"66.43","281":"63.54","282":"63.37","289":"62.43","285":"60.67","277":"57.72","273":"56.11","276":"56.08","280":"54.17","279":"53.97","272":"51.53"},"25":{"total":"103.92","299":"136.96","297":"134.86","300":"133.97","301":"129.55","298":"125.87","294":"106.16","296":"103.92","295":"98.40","293":"79.51"},"29":{"total":"78.43","348":"109.14","346":"106.40","344":"104.90","347":"99.55","343":"98.53","341":"97.41","342":"89.93","337":"89.00","340":"85.98","336":"81.05","345":"79.35","338":"72.07","339":"70.81","335":"59.18"},"22":{"total":"83.09","269":"103.94","270":"89.68","268":"65.76"},"8":{"total":"65.45","91":"101.54","94":"99.73","92":"92.51","93":"83.97","90":"82.64","89":"79.09","88":"71.87","87":"68.58","86":"51.37"},"28":{"total":"68.80","332":"100.31","330":"92.07","334":"91.24","331":"85.73","329":"85.48","328":"76.09","333":"74.07","326":"70.67","327":"69.46","325":"57.58"},"19":{"total":"69.99","232":"100.27","229":"90.64","223":"85.53","230":"83.40","227":"77.83","231":"77.21","225":"75.68","222":"75.63","228":"75.10","226":"74.69","224":"68.59","221":"67.31","220":"65.95","219":"58.59"},"5":{"total":"71.94","57":"96.20","59":"89.73","56":"81.39","58":"79.35","54":"76.95","51":"76.63","55":"72.01","52":"71.78","53":"71.77","50":"65.79","49":"55.87"},"15":{"total":"72.29","165":"85.41","166":"84.44","169":"80.83","161":"77.68","167":"75.01","168":"73.96","162":"71.23","164":"70.99","160":"67.14","163":"62.51","159":"54.18"},"16":{"total":"63.99","185":"83.31","186":"80.60","182":"75.76","174":"75.56","177":"75.37","178":"67.53","180":"64.67","179":"64.64","181":"63.66","184":"63.64","183":"61.53","173":"61.05","172":"61.04","176":"60.55","175":"59.64","170":"58.16","171":"51.62"},"21":{"total":"66.33","265":"82.98","266":"77.60","264":"77.04","263":"76.07","256":"74.09","267":"70.21","257":"69.06","262":"68.08","255":"67.67","261":"67.08","260":"65.96","258":"63.65","259":"61.24","254":"56.24"},"17":{"total":"61.28","202":"82.67","203":"79.12","199":"73.84","204":"72.54","200":"70.63","192":"70.16","190":"69.34","201":"69.32","194":"68.87","191":"67.01","196":"66.68","197":"66.04","189":"63.54","195":"63.03","193":"60.65","188":"58.95","198":"57.60","187":"49.62"},"18":{"total":"61.56","217":"77.60","209":"72.89","207":"72.58","213":"71.86","214":"71.78","208":"71.32","215":"68.68","210":"67.92","216":"67.31","218":"66.08","211":"65.46","206":"63.94","212":"63.32","205":"52.75"},"20":{"total":"41.02","240":"70.10","241":"65.73","245":"59.05","234":"57.02","250":"55.11","244":"54.14","251":"52.71","247":"51.96","249":"51.37","237":"50.90","248":"50.33","246":"48.46","242":"47.89","236":"44.99","239":"44.13","233":"40.98","243":"40.86","238":"40.33","253":"37.61","235":"36.46","252":"35.45"},"13":{"total":"55.92","146":"67.63","145":"66.99","149":"65.97","140":"65.62","144":"63.13","147":"61.92","143":"61.89","142":"61.19","148":"59.41","138":"58.40","136":"55.31","141":"52.64","133":"50.76","137":"47.01","135":"46.37","139":"45.39","134":"41.12"},"23":"67.53","7":{"total":"48.39","84":"65.97","85":"63.54","80":"61.52","77":"60.49","83":"59.51","76":"57.04","74":"56.79","81":"55.54","78":"54.59","79":"53.33","75":"50.87","82":"48.24","73":"47.36","72":"40.68"},"14":{"total":"54.85","153":"64.92","156":"64.26","157":"61.03","158":"59.07","155":"58.77","150":"53.33","154":"53.20","152":"52.63","151":"50.71"},"4":{"total":"42.23","42":"62.00","41":"46.51","48":"44.82","44":"44.32","39":"43.49","38":"42.67","45":"41.86","40":"38.31","46":"38.22","43":"37.15","47":"29.95"},"11":{"total":"36.73","121":"57.34","111":"54.19","115":"51.07","116":"46.73","117":"44.73","120":"42.32","118":"40.30","114":"40.13","119":"38.00","109":"34.57","112":"33.76","110":"30.41","113":"28.83"},"12":{"total":"31.06","130":"46.91","132":"46.87","129":"40.88","124":"37.04","131":"33.52","123":"33.15","126":"32.21","127":"29.77","128":"28.89","122":"27.67","125":"27.38"},"3":"34.36","10":"23.81","2":"22.42"}
            }
        ],
    };
    map = $("#ChinaMap").heatmap(options, 1);
});
</script>

</HEAD>
<body>
<DIV id=ChinaMap style="width:580px;height:480px;"></DIV>
</body>
